package com.cti.commons.delayqueue.repository.constant;

public enum MsgReveiceStatus {

    /**
     * 消费处理中
     */
    PROCESS(0),

    /**
     * 消费成功
     */
    SUCCESS(1),

    /**
     * 消费失败
     */
    FAIL(2),

    /**
     * 无法消费
     */
    UNABLE_CONSUMER(3),

    /**
     * 达到最大重试次数
     */
    MAX_FAIL(4);

    private int status;

    private MsgReveiceStatus(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
